/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.

Copyright (c) 2023-present Kaleidos INC
*/

@import url("shared/users-tabs.css");

.highlighted,
.leave-highlighted {
  background-color: var(--color-primary10);
}

.leave-highlighted {
  & tg-leave-workspace-dropdown {
    --action-button-color: var(--color-secondary90);
  }
}

tg-ui-dtable-row {
  --cells-layout: 1fr 1fr 140px;

  /* stylelint-disable-next-line selector-max-type */
  & > tg-ui-dtable-cell {
    transform: translateY(0%);
  }

  & .remove-countdown {
    transform: translateY(-100%);
  }
}

.remove-countdown {
  background: var(--color-white);
  display: flex;
  inline-size: 100%;
  inset-block-start: 100%;
  inset-inline-end: 0;
  justify-content: flex-end;
  position: absolute;

  & button {
    text-decoration: underline;
  }
}

.remove-countdown-wrapper {
  align-items: center;
  display: flex;
  gap: var(--spacing-24);
}

.remove-action-undo-done {
  inset-block-start: 0;
  inset-inline-end: 0;
  position: absolute;
}

.column-actions {
  justify-content: flex-end;
  padding-inline-end: var(--spacing-12);
}

.action-column {
  padding-inline-end: var(--spacing-12);
  text-align: end;
}
